﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using KBManagement.DAL;

namespace KBManagement
{
    public partial class ConfirmAddEmployee : Form
    {
        public ConfirmAddEmployee(Employee employee)
        {
            InitializeComponent();
            lblFullName.Text = employee.FullName;
            lblBirthday.Text = employee.BirthDay.ToShortDateString();
            lblAddress.Text = employee.Address;
            lblEmail.Text = employee.Email;
            lblGender.Text = employee.Gender.ToString();
            lblPhone.Text = employee.Phone;
            lblPosition.Text = employee.PositionID.ToString();
            lblTimeSlot.Text = employee.TimeSlotID.ToString();
        }
    }
}
